package com.isoft.src.main.java.model;

import java.util.Date;

public class Order {
    private String orderId;
    private Cart cart;
    private Date date;

    public Order(String orderId, Cart cart, Date date) {
        this.orderId = orderId;
        this.cart = cart;
        this.date = date;
    }

    public String getOrderId() { return orderId; }
    public void setOrderId(String orderId) { this.orderId = orderId; }

    public Cart getCart() { return cart; }
    public void setCart(Cart cart) { this.cart = cart; }

    public Date getDate() { return date; }
    public void setDate(Date date) { this.date = date; }
}